01914bd478d88b1a65fc8d5a3b9c623e4a0cc261,language/cypher/src/main/java/com/neueda/jetbrains/plugin/graphdb/language/cypher/formatter/CypherFormattingModelBuilder.java,CypherFormattingModelBuilder,createSpacingBuilder,#CodeStyleSettings#,39
Before Change
.around(OP_PLUS).spaces(1)
.around(OP_MINUS).spaces(1)
.around(OP_MUL).spaces(1)
.around(OP_DIVIDE).spaces(1)
.around(OP_MODULO).spaces(1)
.around(OP_POW).spaces(1)
.around(OP_EQUAL).spaces(1)
.around(OP_NOTEQUALS).spaces(1)
.around(OP_INVALIDNOTEQUALS).spaces(1)
.around(OP_LESSTHEN).spaces(1)
.around(OP_GREATHERTHEN).spaces(1)
.around(OP_LESSTHANEQUALS).spaces(1)
.around(OP_GREATERTHANEQUALS).spaces(1)
.between(STATEMENT_ITEM, STATEMENT_ITEM).blankLines(1)
.after(PATTERN_COMPREHENSION).lineBreakInCode();
}
After Change
.afterInside(OP_MUL, MAYBE_VARIABLE_LENGTH).none()
.around(OP_PLUS).spaces(1)
.around(OP_MINUS).spaces(1)
.around(OP_MUL).spaces(1)
.around(OP_DIVIDE).spaces(1)
.around(OP_MODULO).spaces(1)
.around(OP_POW).spaces(1)
.around(OP_EQUAL).spaces(1)
.around(OP_NOTEQUALS).spaces(1)
.around(OP_INVALIDNOTEQUALS).spaces(1)
.around(OP_LESSTHEN).spaces(1)
.around(OP_GREATHERTHEN).spaces(1)
.around(OP_LESSTHANEQUALS).spaces(1)
.around(OP_GREATERTHANEQUALS).spaces(1)
.between(STATEMENT_ITEM, STATEMENT_ITEM).blankLines(1)
.after(PATTERN_COMPREHENSION).lineBreakInCode()
.between(K_RETURN, RETURN_BODY).spaces(1)